-
Notifications
You must be signed in to change notification settings - Fork 51
SA get current namespace #543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SA get current namespace #543
Conversation
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will we want to enable the following test as part of this fix, or address in a separate PR?
https://github.com/project-codeflare/codeflare-sdk/blob/main/src/codeflare_sdk/cluster/cluster.py#L724
https://github.com/project-codeflare/codeflare-sdk/blob/main/tests/unit_test.py#L579
Apart from the above question, all works as expected!
Wondering if it's a good idea to set something like this to all notebooks, further removing the need for user input:
I think we would need to add the import too for usage: |
If config doesn't have a namespace set it should use the current working namespace |
I'm not sure what the test is testing exactly. Can we leave it out for now? |
/lgtm just needs a rebase, thank you! |
I ran a demo notebook without providing the namespace and the |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Fiona-Waters The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
7d758eb
into
project-codeflare:main
Issue link
supersedes #539
What changes have been made
add check for SA namespace as default
Verification steps
use RHOAI workbook, clone this branch and
run pip install .
see that the namespace retrieved is the same as the project that you are inChecks